package com.dyoud.api.user.dto;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 用户注册DTO
 * 
 * @author Jonathan
 * @date 2018/03/09
 *
 */
public class RegRequestDto {

    @NotBlank(message = "用户标识不能空")
    private String identifire;
    @NotBlank(message = "验证码不能为空")
    private String code;
    @NotBlank(message = "凭证不能为空")
    private String credential;

    public String getIdentifire() {
        return identifire;
    }

    public void setIdentifire(String identifire) {
        this.identifire = identifire;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCredential() {
        return credential;
    }

    public void setCredential(String credential) {
        this.credential = credential;
    }

}
